Dictionary.Lookup Method

Returns a Variant. Looks up the passed value of Key.

Syntax

Dictionary.Lookup key, defaultValue


Parameters

key

Variant

defaultValue

Variant


If Key is found, it returns the corresponding value. If Key is not found, it returns the passed defaultValue.